

package com.lh.api.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @Date 2020/5/13 0013 14:18
 * @Author GaoZien
 * @Desc 修改个人信息表单
 */
@Data
@ApiModel(value = "修改个人信息表单")
public class UserForm {

    @ApiModelProperty(value = "昵称",required = true)
    @NotBlank(message="name is required")
    @Length(max = 14, message = "昵称最多14个字符")
    private String name;

}
